#ifndef __STRINGOPRATE_H__
#define __STRINGOPRATE_H__
#endif

//字符串转成16进制高低位数据
void hex_asc(const unsigned char *strSrc, unsigned char *strDes,int len);


void hex_asc_char(unsigned char chSrc, unsigned char *strDes);


//字符类型转换
//convert char data format to unsigned char data format
int Str_Array_Signal(char *str1, unsigned char *str2);


//字符类型转换
//convert unsigned char data format to char data format
int Array_String(unsigned char *str1, char *str2);


//16进制格式数据串变为ASCII码格式
int HexToStr(unsigned char *str1, unsigned char *str2);


//去掉字符串中的空格
void chomp(char*str);
